<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>区域病虫害管理平台</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="css/index.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">区域病虫害管理平台</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <!--      <li class="layui-nav-item"><a href="">控制台</a></li>-->
            <!--      <li class="layui-nav-item"><a href="">商品管理</a></li>-->
            <!--      <li class="layui-nav-item"><a href="">用户</a></li>-->
            <!--            <li class="layui-nav-item">-->
            <!--                <a href="javascript:;">其它系统</a>-->
            <!--                <dl class="layui-nav-child">-->
            <!--                    <dd><a href="">邮件管理</a></dd>-->
            <!--                    <dd><a href="">消息管理</a></dd>-->
            <!--                    <dd><a href="">授权管理</a></dd>-->
            <!--                </dl>-->
            <!--            </li>-->
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;" id="userName">
                    <img src="../LayUiBac/img/rabit.jpg" class="layui-nav-img">
                </a>
                <!--                <dl class="layui-nav-child">-->
                <!--&lt;!&ndash;                    <dd><a href="">基本资料</a></dd>&ndash;&gt;-->
                <!--&lt;!&ndash;                    <dd><a href="">安全设置</a></dd>&ndash;&gt;-->
                <!--                </dl>-->
            </li>
            <li class="layui-nav-item">
                <a id="SignOut" href="login.html">退出账号</a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">资料管理</a>
                    <dl class="layui-nav-child">
                        <dd><a target="myiframe" href="home/insect/right1.html">鼠害一览</a></dd>
                        <dd><a target="myiframe" href="home/insect/right2.html">虫害一览</a></dd>
                        <dd><a target="myiframe" href="home/insect/right3.html">病害一览</a></dd>
                        <!--<dd><a href="">超链接</a></dd>-->
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">灾害防治</a>
                    <dl class="layui-nav-child">
                        <dd><a target="myiframe" href="home/disaster/right1.html">区域一览</a></dd>
                        <dd><a target="myiframe" href="home/disaster/right2.html">小班管理</a></dd>
                        <dd><a target="myiframe" href="home/disaster/right3.html">事件记录</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">专家会商</a>
                    <dl class="layui-nav-child">
                        <dd><a target="myiframe" href="home/expert/right1.html">专家一览</a></dd>
                        <dd><a target="myiframe" href="home/expert/right2.html">会商灾情</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">药剂器械出库管理</a>
                    <dl class="layui-nav-child">
                        <dd><a target="myiframe" href="home/medic/right1.html">药剂器械管理</a></dd>
                        <dd><a target="myiframe" href="home/medic/right2.html">出库信息/快速出库</a></dd>
                        <dd><a target="myiframe" href="home/medic/test.html">出库管理</a></dd>
                    </dl>
                </li>
                <!--<li class="layui-nav-item"><a href="">云市场</a></li>-->
                <li class="layui-nav-item layui-bg-red">
                    <a class="" href="javascript:;">系统管理</a>
                    <dl class="layui-nav-child ">
                        <dd><a target="myiframe" href="home/user/right1.html">用户管理</a></dd>
                        <dd><a target="myiframe" href="home/user/right2.html">日志管理</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <iframe id="myiframe" name="myiframe" src="home/insect/right1.html" class="layadmin-iframe"></iframe>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © 区域病虫害
    </div>
</div>
<script src="layui/layui.all.js"></script>

<script>
    let $ = layui.$;
    $('#SignOut').on('click', function () {
        $.ajax({
            type: 'post'
            , url: '/Trees/login?method=signOut'
        })
    })

    //JavaScript代码区域
    // (function () {
    //     var element = layui.element;
    // })();

</script>
</body>
</html>